package com.example.demo.web.rest.evt;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * Description:
 *
 * @Author zmf
 * @Date 2018/12/12  18:21
 */
@ApiModel("用户ID和用户名参数")
public class UserModifyEvt implements Serializable{

    private static final long serialVersionUID = -1358743905712275484L;
    @ApiModelProperty("用户ID")
    @NotNull
    private Long userId;
    @ApiModelProperty(value = "用户名",notes = "判断是否可以编辑用户用到的参数")
    @NotBlank
    private String userName;
    @ApiModelProperty(value = "选中用户类型",notes = "判断是否可以编辑用户用到的参数")
    @NotNull
    private Integer userType;

    @ApiModelProperty(value = "用户当前状态",notes = "判断用户是否可以进行当前操作")
    private Integer status;

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }
}
